#ifndef IMAGE_H
#define IMAGE_H
#include <opencv2/opencv.hpp>
#include <QImage>
extern bool Mode;
extern int Low1, Low2, Low3, High1, High2, High3;
cv::Mat QImage2cvMat(QImage image);

QImage cvMat2QImage(const cv::Mat& mat);
cv::Mat threshold_split(const cv::Mat& mat);
#endif // IMAGE_H
